package org.goodsl.mdd.annotation;

import org.codehaus.groovy.runtime.typehandling.DefaultTypeTransformation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Target(value = {ElementType.TYPE,ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
public @interface ValueType {
   Class<?> value();
   Class<?> typeConvertor() default DefaultTypeTransformation.class;
}
